#!/bin/bash
DIRCACHE_BIN="/usr/local/dircached/dircli"
function cd(){
    builtin cd $1 && [ $1 ] && ${DIRCACHE_BIN} add `pwd`
}

function to(){
    cd `${DIRCACHE_BIN} get $1`
}

function d(){
	${DIRCACHE_BIN} list
}
